package com.jiegui.pay.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jiegui.common.annotation.Excel;
import lombok.Data;

/**
 * 接口请求对象 interface_request
 * 
 * @author wuqicheng
 * @date 2021-12-10
 */
@Data
@TableName("interface_request")
public class InterfaceRequest
{
    private static final long serialVersionUID = 1L;

    /** 流水号 */
    @TableId
    private Long flowId;

    /** 通道编号 */
    @Excel(name = "通道编号")
    private String interfaceCode;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String billCode;

    /** 接口请求订单号 */
    @Excel(name = "接口请求订单号")
    private String interfaceOrder;

    /** 交易金额 */
    @Excel(name = "交易金额")
    private BigDecimal amount;

    /** 请求时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "请求时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date requestTime;

    /** 请求状态 */
    @Excel(name = "请求状态")
    private String status;

    /** 返回码 */
    @Excel(name = "返回码")
    private String responseCode;

    /** 返回消息 */
    @Excel(name = "返回消息")
    private String responseMsg;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date completeTime;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


}
